﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ModelProject
{
    public interface IUnitOfWork : IDisposable, ISql
    {
        void Commit();

        void RollbackChanges();

        void RegisterChanges<TEntity>(TEntity item) where TEntity : class, IObjectWithChangeTracker;
    }
}
